#ifndef K1S_RECV_THREAD_H
#define K1S_RECV_THREAD_H

struct recv_thread_opt {
    int listen_port;
    int max_online;
};

void recv_thread_init(struct recv_thread_opt *opt);
void recv_thread_shutdown();

int recv_thread_cmd_new_conn_fd();
int recv_thread_cmd_new_listen_fd(int port);

#endif
